package top.buyibuyi.course.dao.admin;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import top.buyibuyi.course.pojo.Semester;

@Mapper
public interface SaveSemesterDao {

    @Insert("insert into semester (sname,startstime,closetime,ends) " +
            "values (#{sname},#{startstime},#{closetime},#{ends})")
    Boolean saveSemester(Semester semester);
}
